<?php

declare(strict_types=1);

namespace hangpu8\hpcms\controller;

use hangpu8\hpcms\Utils\Json;

class Index extends Baseic
{
    // 获取应用信息
    public function site()
    {
        $data = (array)getHpConfig();
        return Json::successful($data);
    }
}